MailPoet\Services\AuthorizedSenderDomainController A

Total Complexity 51
Dependencies 8
Dependents 9
Total lines 292
Lines of code 160
Logical lines of code 90
Comment lines 49
Methods 25
Properties 6

Methods 25

Method Rating Maintainability Complexity Lines of code
returnVerifiedDomains()
S
58 6 15
verifyAuthorizedSenderDomain()
S
55 5 18
isAuthorizedDomainRequiredForNewCampaigns()
S
65 4 9
createAuthorizedSenderDomain()
S
60 3 13
isNewUser()
S
63 3 11
getSenderDomainsGroupedByStatus()
S
63 3 11
getDomainRecords()
S
69 2 7
getAllRecords()
S
71 2 6
getAllRawData()
S
71 2 6
extractDomains()
S
69 2 7
getFullyOrPartiallyVerifiedSenderDomains()
S
74 2 4
getUnverifiedSenderDomains()
S
75 2 4
getPartiallyVerifiedSenderDomains()
S
75 2 4
getFullyVerifiedSenderDomains()
S
75 2 4
getSenderDomainsByStatus()
S
72 1 5
domainExtractor()
S
79 1 3
getRewrittenEmailAddress()
S
78 1 3
returnAllDomains()
S
76 1 4
getVerifiedSenderDomainsIgnoringCache()
S
76 1 4
getVerifiedSenderDomains()
S
80 1 3
getAllSenderDomainsIgnoringCache()
S
76 1 4
isEnforcementOfNewRestrictionsInEffect()
S
79 1 3
getAllSenderDomains()
S
80 1 3
isSmallSender()
S
80 1 3
__construct()
S
71 1 6